﻿using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Akso.Classrooms.Dto;
using Akso.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Akso.Classrooms
{
    public interface IClassroomAppService:IApplicationService
    {
        //获取教室信息
        Task<ListResultDto<ClassroomListDto>> GetClassrooms(GetClassroomsInput input);
        //新增、编辑教室信息
        Task<ClassroomsEntity> CreateOrUpdateClassroom(CreateOrUpdateClassroomInput input);
        /// <summary>
        /// 在新增、编辑数据的弹出对话框中，获取对象的数据。
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<GetClassroomForEditOutput> GetClassroomForEdit(NullableIdDto<Guid> input);

        //删除教室信息
        Task DeleteClassroom(EntityDto<Guid> input);
    }
}
